import 'package:boss/textStyle/text_style.dart';
import 'package:city_pickers/city_pickers.dart' as cityPicker;
import 'package:flutter/material.dart';

Future<cityPicker.Result> showCityPicker(BuildContext context, {String locationCode}) {
  return cityPicker.CityPickers.showCityPicker(
    context: context,
    height: 300,
    locationCode: locationCode,
    cancelWidget: Text('取消', style: TextStyleConstant().blue_28),
    confirmWidget: Text('确定', style: TextStyleConstant().blue_28),
  );
}
